#include "ws.hpp"
#include<string>
my_endpoint m_endpoint;
int main(int argc, char* argv[])
{
	std::string uri = "ws://192.168.137.1:8080/njupt_war_exploded/chat/board";
    if (argc == 2) {
        uri = argv[1];
    }
	m_endpoint.socket_connect(uri);
	m_endpoint.c.run();
	return 0;
}